home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / lsb-release.postinst < prev    next >
Text File  |  2009-10-08  |  627b  |  24 lines

  1. #!/bin/sh -e
  2.  
  3. case "$1" in
  4.     configure)
  5.         if [ -e /etc/lsb-release ]; then
  6.             MD5SUM=`md5sum /etc/lsb-release | cut -d" " -f1`
  7.             if [ "$MD5SUM" = "b5bfe10d9b02fb4e4a45337d1c4d88ab" ]; then
  8.                 rm -f /etc/lsb-release
  9.             fi
  10.         fi
  11.         ;;
  12. esac
  13.  
  14. # Automatically added by dh_pycentral
  15. rm -f /var/lib/pycentral/lsb-release.pkgremove
  16. if which pycentral >/dev/null 2>&1; then
  17.     pycentral pkginstall lsb-release
  18.     if grep -qs '^lsb-release$' /var/lib/pycentral/delayed-pkgs; then
  19.         sed -i '/^lsb-release$/d' /var/lib/pycentral/delayed-pkgs
  20.     fi
  21. fi
  22. # End automatically added section
  23.  
  24.